From 096707f0b1a62c713731c35661161b18d790a4ae Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 12 Nov 2009 07:53:56 +0000 Subject: [PATCH] Follow-up r58385: Initialize variable to avoid a PHP notice. --- includes/specials/SpecialBlockip.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index ff76353d42..7d15b14c66 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -99,6 +99,7 @@ class IPBlockForm { $user = User::newFromName( $this->BlockAddress ); $alreadyBlocked = false; + $otherBlockedMsgs = array(); if( $err && $err[0] != 'ipb_already_blocked' ) { $key = array_shift( $err ); $msg = wfMsgReal( $key, $err ); -- 2.20.1